package com.studyroom.enums;

import lombok.Getter;

@Getter
public enum OrderStatus {
    UNPAID(0, "待支付"),
    PAID(1, "已支付"),
    DELIVERING(2, "配送中"),
    COMPLETED(3, "已完成"),
    CANCELLED(4, "已取消");

    private final Integer code;
    private final String description;

    OrderStatus(Integer code, String description) {
        this.code = code;
        this.description = description;
    }
} 